Skip to content

fix: patch 8 open Dependabot security alerts - #29

Merged
BYK merged 1 commit into
masterfrom
fix/security-advisories-2026-03
Apr 1, 2026
Merged

BYK merged 1 commit into
masterfrom
fix/security-advisories-2026-03

Conversation

@BYK

@BYK BYK commented Apr 1, 2026

Copy link
Copy Markdown
Owner

Summary

Resolves all 8 open Dependabot security alerts by updating pnpm.overrides to force patched versions of vulnerable transitive dev dependencies.

Alerts Fixed

Alert Package Vulnerability Severity Fix
#86 serialize-javascript CVE-2026-34043 (DoS via crafted objects) Medium (5.9) >= 7.0.5
#85, #84 brace-expansion CVE-2026-33750 (zero-step sequence hang) Medium (6.5) 1.1.13 / 2.0.3 / 5.0.5
#83 yaml CVE-2026-33532 (stack overflow via deep nesting) Medium (4.3) >= 2.8.3
#82, #81, #80, #79 picomatch CVE-2026-33671 (ReDoS), CVE-2026-33672 (method injection) High (7.5) / Medium (5.3) 2.3.2 / 4.0.4

Approach

Uses version-range selectors (@^1, @^2, @^5) with tilde (~) constraints to keep overrides within compatible major versions. This prevents brace-expansion@5.x (which dropped the default export) from being forced onto minimatch@9.x/3.x consumers, which would break ESM imports.

Fixes #79, #80, #81, #82, #83, #84, #85, #86

Update pnpm.overrides to force patched versions of transitive
dev dependencies with known vulnerabilities:

- serialize-javascript >=7.0.5 (CVE-2026-34043, DoS via crafted objects)
- brace-expansion 1.1.13/2.0.3/5.0.5 (CVE-2026-33750, zero-step hang)
- yaml >=2.8.3 (CVE-2026-33532, stack overflow via deep nesting)
- picomatch 2.3.2/4.0.4 (CVE-2026-33671 ReDoS, CVE-2026-33672 method injection)

Uses version-range selectors (~) for brace-expansion and picomatch
to keep overrides within compatible major versions, preventing
breaking ESM import changes across major boundaries.
@BYK
BYK merged commit 0849a18 into master Apr 1, 2026
4 checks passed
@BYK
BYK deleted the fix/security-advisories-2026-03 branch April 1, 2026 14:40
@craft-deployer craft-deployer Bot mentioned this pull request Apr 1, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant